window.onscroll = function(){
    //兼容写法
    var st = document.documentElement.scrollTop || document.body.scrollTop;
    var div=document.getElementById("ch-id");
    console.log('scrollTop='+st);
    if (st<1352)
    {
        div.style.visibility='hidden';
    }
};

function click_download() {
    var st = document.documentElement.scrollTop || document.body.scrollTop;
    var div=document.getElementById("download-text");
    console.log('scrollTop='+st);
    if (st < 200 )
    {
        if (div.style.visibility == 'visible')
        {
            div.style.visibility='hidden';
        }
        else if(div.style.visibility == 'hidden')
        {
            div.style.visibility = 'visible';
        }
    }
}



function click_adao() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/adaoid.png)';
    div.style.visibility='visible';
    console.log('adao');
}
function click_ahua() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/ahuaid.png)';
    div.style.visibility='visible';
    console.log('ahua');
}
function click_duoduo() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/duoduoid.png)';
    div.style.visibility='visible';
    console.log('duoduo');
}
function click_goutui() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/goutuiid.png)';
    div.style.visibility='visible';
    console.log('goutui');
}
function click_haidewei() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/haideweiid.png)';
    div.style.visibility='visible';
    console.log('haidewei');
}
function click_gumi() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/gumiid.png)';
    div.style.visibility='visible';
    console.log('gumi');
}
function click_jidan() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/jidanid.png)';
    div.style.visibility='visible';
    console.log('jidan');
}
function click_jiji() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/jijiid.png)';
    div.style.visibility='visible';
    console.log('jiji');
}
function click_miao() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/miaoid.png)';
    div.style.visibility='visible';
    console.log('miao');
}
function click_pidan() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/pidanid.png)';
    div.style.visibility='visible';
    console.log('pidan');
}
function click_tuding() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/tudingid.png)';
    div.style.visibility='visible';
    console.log('tuding');
}
function click_wangcai() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/wangcaiid.png)';
    div.style.visibility='visible';
    console.log('wangcai');
}
function click_xiaoju() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/xiaojuid.png)';
    div.style.visibility='visible';
    console.log('xiaoju');
}
function click_xiaowang() {
    var div=document.getElementById("ch-id");
    div.style.background='url(image/id/xiaowangid.png)';
    div.style.visibility='visible';
    console.log('xiaowang');
}

function closeid() {
    var div=document.getElementById("ch-id");
    div.style.visibility='hidden';
}